import request from '@/utils/request'

/* 添加进货日志 */
export function add(data) {
  return request({
    url: '/purchase/add',
    method: 'post',
    data
  })
}
/* 添加进货日志 */
export function del(data) {
  return request({
    url: '/purchase/del',
    method: 'post',
    data
  })
}
/* 查询进货日志 */
export function getAll(data) {
  return request({
    url: '/purchase/getAll',
    method: 'post',
    data
  })
}
/* 进货审批 */
export function set(data) {
  return request({
    url: '/purchase/set',
    method: 'post',
    data
  })
}
/*统计图展示*/
export function purCount(data) {
  return request({
    url: '/purchase/purCount',
    method: 'post',
    data
  })
}